package cn.iocoder.yudao.module.book.controller.admin.homeworks.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 作业分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class HomeworksPageReqVO extends PageParam {

    @Schema(description = "作业id", example = "10022")
    private Integer homeworkId;

    @Schema(description = "班级id", example = "1871")
    private Integer classesId;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate[] date;

    @Schema(description = "作业要求")
    private String requirement;

    @Schema(description = "作业内容", example = "你说的对")
    private String description;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}